{{define "Title"}}系统锁定{{end}}
{{define "Content"}}

<div class="container-fluid">
<form class="form-horizontal" action="/syslock" method="POST">
  <fieldset>
    <legend><b>系统锁定</b></legend>
    {{if .error}}<div class="alert alert-error"><b>错误: </b>{{.error | html}}</div>
    {{else }}
      {{if .flash}}<div class="alert alert-success"><b>提示: </b>{{.flash | html}}</div>{{end}}
    {{end}}
    <div class="control-group">
      <label class="control-label">锁定类型&nbsp;</label>
      <div class="control">
        <select id="locktype" name="locktype" style="background-color: #FFFFD0" onmousewheel="return false">
          <option>WORKORDER</option> 
          <option>LINE</option>
          <option>ITEMS</option>
        </select> <b style="color: red">*</b>
      </div>
    </div>
    <div class="control-group">
      <label class="control-label">锁定操作&nbsp;</label>
      <div class="control">
        <select id="action" name="action" style="background-color: #FFFFD0" onmousewheel="return false">
          <option>LOCK</option> 
          <option>UNLOCK</option>
        </select> <b style="color: red">*</b>
      </div>
    </div>
    <div class="control-group">
      <label class="control-label">锁定号码&nbsp;</label>
      <div class="control">
        <input type="text" class="input-large" id="lockno" name="lockno" style="background-color: #FFFFD0" maxlength="30"> <b style="color: red">*</b>
      </div>
    </div>
    <div class="form-actions">
      <button type="submit" class="btn btn-primary">系统锁定</button>
    </div>
  </fieldset>
</form>
</div>

{{end}}